package cn.test;

import org.boot.EnableTest;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @auther hanchao
 * @date 2016/11/11 12:18
 */
@Configuration
@ComponentScan("cn.test")
@EnableAutoConfiguration
//@EnableConfigurationProperties(ConfBean.class)
@EnableTest
public class App {

    public static void main(String[] args){
        ConfigurableApplicationContext context = SpringApplication.run(App.class, args);
        //System.out.println(context.getBean(ProxyFactory.class));
    }
}
